home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / public / fax / src / port / bsdi / README < prev   
Text File  |  1994-08-01  |  5KB  |  126 lines

  1. $Header: /usr/people/sam/fax/port/bsdi/RCS/README,v 1.9 1994/03/29 00:20:00 sam Rel $
  2.  
  3. From: Paul A Vixie <paul@vix.com>
  4. Date: Sun, 27 Mar 1994 18:38:59 -0800
  5.  
  6. BSD/386 1.1 info:
  7.  
  8.    ->    You will need GNU make, since BSD make does not support the SV-style
  9.     Makefiles (with "include" and "sinclude" primitives).
  10.  
  11.    ->    Your kernel has to have been built with the FIFO option.  (most are.)
  12.  
  13.    ->    This version will install over the top of the BSDi-supplied FlexFax.
  14.     In particular, it depends on /usr/contrib/lib/flexfax/afm already
  15.     having the Adobe Font Metric files in it.  You can get these by
  16.     installing the entire FlexFax package from the BSD/386 distribution
  17.     media BEFORE you build this (later) version of FlexFax and install it.
  18.  
  19.    ->    This version uses LOG_LOCAL5 for its logging; you can take advantage
  20.     of this by putting
  21.         local5.debug                    /var/log/fax
  22.     into your /etc/syslog.conf, touching /var/log/fax, and SIGHUP'ing your
  23.     syslogd.  You will then get fax-specific logging in a separate file
  24.     instead of having to grovel /var/log/messages for it.  IF YOU DO NOT
  25.     WANT TO DO THIS YOU WILL HAVE TO EDIT THE defs FILE IN THIS DIRECTORY
  26.     BEFORE YOU BUILD FLEXFAX.
  27.  
  28.    ->    This version connects to itself via your primary interface rather than
  29.     through your loopback interface; the default host list in
  30.     /var/spool/flexfax/etc/hosts contains only the latter, so you will
  31.     need to add the former.  (Sendfax will tell you.)
  32.  
  33.    ->    After you "gnumake install" this version of FlexFax for the first time
  34.     on a BSD/386 1.1 system, you will have to delete the old formatted man
  35.     pages that were installed from the BSD/386 1.1 distribution media.  To
  36.     do this:
  37.  
  38.         cd /usr/contrib/man/cat1
  39.         rm fax2ps.0 faxalter.0 faxcover.0 faxmail.0
  40.         rm faxrm.0 faxstat.0 sendfax.0 textfmt.0
  41.         cd /usr/contrib/man/cat8
  42.         rm dialtest.0 faxaddmodem.0 faxanswer.0
  43.         rm faxd.0 faxd.recv.0 faxquit.0
  44.  
  45.     (thanks are due RD Thrush <rd@tarpit.oau.org> for that suggestion.)
  46.  
  47.    ->    To make a faxmodem work for incoming data as well, you can try making
  48.     a "bidir.38400-hf" entry in /etc/gettytab and then referring to that
  49.     in your rc.local startup lines, i.e.,
  50.  
  51.         /usr/libexec/faxd -g bidir.38400-hf -m /dev/tty00
  52.                           ^^^^^^^^^^^^^^^^^
  53. =============================================================================
  54.  
  55. BSD/386 1.0 info: (note: it is recommended that you simply upgrade to BSD/386
  56. 1.1 and follow the above recommendations.)
  57.  
  58. From: @natinst.com:fubar!dap (Damon Permezel)
  59.  
  60. These comments pertain to version 1.0 of BSDi.
  61.  
  62. You will need to obtain the following from your local source archive site:
  63.     gcc 2.3.3 or later, and a compatible libg++
  64.     GNU make
  65.     ghostscript 2.5.2 or later (2.5.2 is provided in 1.0)
  66.  
  67. First step is to obtain the above, compile and install.
  68. See gs/README for instructions on how to add the "tiffhigh" and "tifflow"
  69. devices to Ghostscript.
  70.  
  71. Next, you will have to modify your kernel configuration, to add the following:
  72.  
  73.     options    FIFO
  74.  
  75. The "FIFO" option causes support for named pipes in the filesystem.
  76. Without "FIFO" being enabled, FlexFax will not function.
  77.  
  78. Rebuild your kernel (see "Rebuilding Your Kernel" on page 38 of the Revision
  79. 1.0 release notes) and reboot from the new version.
  80.  
  81. cd to the FlexFax source directory.
  82.  
  83. Run ./configure.
  84.  
  85. Make sure that all the paths, etc, are correct, and that the UUCP lock
  86. type is binary.
  87.  
  88. as root, running bash, issue:
  89.  
  90.     # ulimit -s unlimited
  91.     # ulimit -m unlimited
  92.     # ulimit -d unlimited
  93.     # gmake
  94.  
  95. The `ulimit's are necessary to compile libtiff/tif_fax3.c, since it includes
  96. the libtiff/g3states.h include file, which is humungous.
  97.  
  98. faxaddmodem requires /bin/bash, rather than sh.  To invoke it, use
  99.  
  100.     # bash ./faxaddmodem.sh -os BSDi -s 38400
  101.  
  102.  
  103. I run FlexFax with a ZyXEL internal modem, running UUCP on the
  104. same port as faxes.  The GettyBSD.c++ file enables this, by exec()ing
  105. /usr/libexec/getty when a data call comes in.
  106. I run getty at a fixed rate of 38400, using the "hw.38400" entry in the
  107. gettytab.
  108.  
  109. hw.38400:\
  110.     :to=30:tc=38400-baud:
  111.  
  112. Prior to invoking login, getty resets the port to the "default" setting.
  113. I run the modem in a manner which requires "clocal" be turned on in order
  114. to talk to it.  Faxd turns on "clocal".  When login runs, I want "clocal"
  115. off.  Thus, the "default" settings for the modem are set so that "clocal"
  116. is turned of.  This causes SIGHUP to be sent to the session when the
  117. modem drops carrier.
  118.  
  119. I have the following in /etc/rc.local to setup the "default" settings.
  120.  
  121. stty -f /dev/tty02 -D cts_oflow rts_iflow 38400 cs8 -parenb -istrip -clocal
  122.  
  123.  
  124. Problems:
  125.     ZyXEL modem is buggy.  Fax reception often renders garbage.
  126.